package com.ssy.lingxi.platform.manage.model.request.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 通用ID - 请求实体类
 * @author fhj
 * @version 2.0.0
 * @date 2020/9/21
 */
@Data
public class CommonIdRequest {

    @ApiModelProperty(value = "主键id")
    @NotNull(message = "主键id不能为空")
    private Long id;
}
